<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tqq-user-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'uname'); ?>
		<?php echo $form->textField($model,'uname',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'uname'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ot'); ?>
		<?php echo $form->textField($model,'ot',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'ot'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ots'); ?>
		<?php echo $form->textField($model,'ots',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'ots'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'openid'); ?>
		<?php echo $form->textField($model,'openid',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'openid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'openkey'); ?>
		<?php echo $form->textField($model,'openkey',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'openkey'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'appkey'); ?>
		<?php echo $form->textField($model,'appkey',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'appkey'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'info'); ?>
		<?php echo $form->textField($model,'info',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'info'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'otime'); ?>
		<?php echo $form->textField($model,'otime'); ?>
		<?php echo $form->error($model,'otime'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->